﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Model
{
    /// <summary>
    /// 居民管理表
    /// </summary>

    public class User
    {
        [Key]
        public int UserId { get; set; }
        /// <summary>
        /// 图片
        /// </summary>
        public string Userimg { get; set; }
        public string Username { get; set; }
        /// <summary>
        /// 类型
        /// </summary>
        public string UserLx { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public string Sex { get; set; }
        /// <summary>
        /// 身份证号
        /// </summary>
        public string Userzheng { get; set; }
        /// <summary>
        /// 手机号
        /// </summary>
        public string Phone { get; set; }
        /// <summary>
        /// 籍贯
        /// </summary>
        public string Userjg { get; set; }
        /// <summary>
        /// 民族
        /// </summary>
        public string Userchenk { get; set; }
        /// <summary>
        /// 小区
        /// </summary>
        public string UserXq { get; set; }
        /// <summary>
        /// 房间号
        /// </summary>
        public string Usernum { get; set; }
        /// <summary>
        /// 审核状态
        /// </summary>
        public bool state { get; set; }
        /// <summary>
        /// 时间
        /// </summary>
        public DateTime Time { get; set; } =DateTime.Now;
        /// <summary>
        /// 删除
        /// </summary>
        public bool IsDel { get; set; }

    }
}
